package  
{
	public class GameState 
	{
		private static var _enumCreated:Boolean = false;
		private var _name:String;
		
		public static const MENU:			GameState = new GameState("menu");
		public static const GAME:			GameState = new GameState("game");
		public static const PAUSED:			GameState = new GameState("paued");

		
		public function GameState(name:String) 
		{
			if (_enumCreated)
			{
				throw new Error("Você (SIM, VOCÊ) não deve instanciar essa classe.");
			}
			_name = name;
		}
		
		public function get label():String
		{
			return(_name);
		}
		
	}

}